﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PidKeyReptile.Desktop.Helper
{
    public interface ICapture
    {
        /// <summary>
        /// 抓取
        /// </summary>
        /// <param name="url"></param>
        Task CaptureAsync(string url);

        /// <summary>
        /// 解析
        /// </summary>
        Task<List<string>> ParseAsync(string data);

    }
}
